progress bar: Add CSS documentation
authorMatthias Clasen <mclasen@redhat.com>
Sun, 1 Nov 2015 00:30:03 +0000 (20:30 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 1 Nov 2015 00:30:15 +0000 (20:30 -0400)
gtk/gtkprogressbar.c

index d32712000fa0954463c08a0237109648da5e68c8..e8d498772cd5646e93165f991ac9b956868b7b5e 100644 (file)
  * of the #GtkProgressBar. Functions are provided to control the orientation
  * of the bar, optional text can be displayed along with the bar, and the
  * step size used in activity mode can be set.
+ *
+ * # CSS nodes
+ *
+ * GtkProgressBar has a main CSS node with name progressbar and a subnode
+ * with name progress. The subnode has the style class .pulse when in activity
+ * mode. It gets the style classes .left, .right, .top or .bottom added when
+ * the progress 'touches' the corresponding end of the GtkProgressBar.
  */
 
 #define MIN_HORIZONTAL_BAR_WIDTH   150